home *** CD-ROM | disk | FTP | other *** search
- echo "c"
- copy c:copy t:copy
- t:copy c:delete t:del
- assign Split: Split
- assign yuvs: yuvs
- Requestfile >env:ANIMname DRAWER RAM: TITLE="Choose anim to convert"
- if warn
- echo >env:msg "Operation canceled....!"
- skip end
- endif
- if not exists $ANIMname
- echo >env:msg "File does not exist....!"
- skip end
- endif
- Requestfile >env:ANIMdest DRAWER SYS: FILE Default.mpg TITLE="Choose destination path."
- if warn
- echo >env:msg "Operation canceled....!"
- skip end
- endif
- Requestchoice >env:mode "" "Do you want scaling ?" Yes No
-
- if $mode eq 1
- SmartScale ask $ANIMname
- else
- SmartScale env $ANIMname
- endif
-
- t:del >nil: split:#? yuvs:#? env:FT env:din
- buildanim $ANIMname Split: SPLIT VERBOSE
- echo "*N Animation is split. Now converting pictures.*N*N"
-
- t:copy convertMPimage t:cmi
- T:copy ppmtoyuvsplit t:yuv
-
- ConPix2 $mode
-
- t:del >nil: t:cmi t:ppm t:iff t:pic.#? t:yuv env:mode
- mpeg -h $xout -v $yout -a 1 -b $V yuvs:pic -s $ANIMdest
- echo >env:msg " Mpeg animation complete."
- lab end
- t:del >nil: yuvs:#? env:ANIMname env:ANIMdest t:copy env:V
- Requestchoice >nil: "" "$msg" OK
- t:del >nil: env:msg env:xin env:yin env:xout env:yout t:del
- assign Split: REMOVE
- assign yuvs: REMOVE
- endcli
-